<?php

include "conecta.php";

$email=$_GET["email"];
$nick=$_GET["nick"];
$pass=$_GET["password"];
$keyval=$_GET["keyval"];
$idioma=$_GET["idioma"];

$sqlCommand = "INSERT INTO usuario (email, nick, password, validado, keyval, _id_idioma) VALUES ('".$email."','".$nick."','".$pass."','N','".$keyval."',".$idioma.")";

$conect->query($sqlCommand);

echo $conect->insert_id;

$conect->close();

?>

